package com.yqg.protection.controller.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yqg.protection.cover.LocalDateTimeConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * ImportRecordNoticeDto 实体类
 *
 * @author 小宇
 * @since 2024-09-13
 */
@Data
public class ImportRecordNoticeDto {

    @ExcelProperty(value = "通知类型", index = 0)
    @ApiModelProperty("通知类型")
    private String type;

    @ExcelProperty(value = "内容", index = 1)
    @ApiModelProperty("内容")
    private String content;

    @ExcelProperty(value = "通知人", index = 2)
    @ApiModelProperty("通知人")
    private String notifier;

    @ExcelProperty(value = "电话", index = 3)
    @ApiModelProperty("电话")
    private String tele;

    @ExcelProperty(value = "通知时间", index = 4, converter = LocalDateTimeConverter.class)
    @ApiModelProperty("通知时间")
    private LocalDateTime noticeDate;

}
